package com.thx.common.orm.model;

import org.hibernate.annotations.GenericGenerator;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * 属性值实体.
 * 
 * @author calonlan
 */
@Entity
@Table(name = "e_property_val")
public class PropertyVal implements Serializable {

  private static final long serialVersionUID = 527150055142171208L;

  @Id
  @GeneratedValue(generator = "generator")
  @GenericGenerator(name = "generator", strategy = "uuid")
  private String id;

  private Integer intVal;
  private Float floatVal;
  private Boolean boolVal;
  private Date dateVal;
  private String stringVal;
  private byte[] byteVal;
  private String propertyId;
  private String entityId;

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public Integer getIntVal() {
    return intVal;
  }

  public void setIntVal(Integer intVal) {
    this.intVal = intVal;
  }

  public Float getFloatVal() {
    return floatVal;
  }

  public void setFloatVal(Float floatVal) {
    this.floatVal = floatVal;
  }

  public Boolean getBoolVal() {
    return boolVal;
  }

  public void setBoolVal(Boolean boolVal) {
    this.boolVal = boolVal;
  }

  public Date getDateVal() {
    return dateVal;
  }

  public void setDateVal(Date dateVal) {
    this.dateVal = dateVal;
  }

  public String getStringVal() {
    return stringVal;
  }

  public void setStringVal(String stringVal) {
    this.stringVal = stringVal;
  }

  public byte[] getByteVal() {
    return byteVal;
  }

  public void setByteVal(byte[] byteVal) {
    this.byteVal = byteVal;
  }

  public String getPropertyId() {
    return propertyId;
  }

  public void setPropertyId(String propertyId) {
    this.propertyId = propertyId;
  }

  public String getEntityId() {
    return entityId;
  }

  public void setEntityId(String entityId) {
    this.entityId = entityId;
  }



}
